# -*- coding: utf-8 -*-
from os import getcwd as basedir
client = {
	"basedir": basedir(),
	"help link": "http://ca.wikipedia.org/wiki/User:TronaBot/IRC/ordres_geni",
	"server link": "http://toolserver.org/~pasqual/bots_IRC/geni/",
	"svn": "http://nemesian.googlecode.com/svn/",
	"name": "(:iBot.ircbot.py 2.0.1:)",
	"version": (2,1,0)
}

udpListener = ("127.0.0.1", 55666)
newartchan = "##wikipedia-ca-newpages"

class _Bot1:
	def __init__(self):
		self.label = ("master", 0)
		#extra
		self.extra = {
			"lang": "ca",
			"triggers": ".@!?:,;*+-%$",
			"folders": ['common'],
		}
		
		#user
		self.user = {
			"nickname": "pampolut",
			"ircname": "nemesian",
			"realname": "geni 2.0",
			"mode": "+iws",
			"passw": True #if True, user will be prompted
		}
		
		#server
		self.server = {
			"chan": "##bots-ca",
			"host": "irc.freenode.net",
			"port": 6667,
			"passw": None
		}
frBot = _Bot1()

class _Bot2:
	def __init__(self):
		self.label = ("slave", 1)
		#extra
		self.extra = {
			"lang": "ca",
			"triggers": ".@!?:,;*+-%$",
			"folders": ['common'],		
		}
		
		#user
		self.user = {
			"nickname": "rc_buggybot",
			"ircname": "nemesian",
			"realname": "geni 2.0",
			"mode": "+iws",
			"passw": None #if True, user will be prompted
		}
		
		#server
		self.server = {
			"chan": "#ca.wikipedia",
			"host": "irc.wikimedia.org",
			"port": 6667,
			"passw": None
		}
wmBot = _Bot2()

class _Bot3:
	def __init__(self):
		self.label = ("slave", 2)
		#extra
		self.extra = {
			"lang": "ca",
			"triggers": ".@!?:,;*+-%$",
			"folders": ['common'],
		}
		
		#user
		self.user = {
			"nickname": "buggybot",
			"ircname": "nemesian",
			"realname": "geni 2.0",
			"mode": "+iws",
			"passw": True #if True, user will be prompted
		}
		
		#server
		self.server = {
			"chan": "##bots-ca",
			"host": "irc.freenode.net",
			"port": 6667,
			"passw": None
		}
frBot2 = _Bot3()